package com.wanshi.mapper;

import com.wanshi.entity.Staff;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 员工信息表 Mapper 接口
 * </p>
 *
 * @author 顽石教育-www.wanshi.com
 * @since 2021-12-16
 */
public interface StaffMapper extends BaseMapper<Staff> {

      Staff  findAllByName(String username);

      Staff  findAllByNameAndPas(@Param("username") String username, @Param("password") String password);


}
